﻿using UnityEngine;
using System.Collections;

public class PlayerSaving : MonoBehaviour {
	public Vector3 savePosition;
	public bool isSavePositionSaved = false;
	private static PlayerSaving instance;
	void Awake () {
		if (instance)
			Destroy(gameObject);
		else {
			DontDestroyOnLoad (transform.gameObject);
			instance = this;
		}
	}
	// Use this for initialization
	void Start () {
		//TODO load last saved spot
	}
}
